﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Batty
{
    class BattyScreen :GameScreen
    {
        public Bat bat;
        public Rats rats;
        public Lego lego;
        public Field field;
        public BattyScreen(Pondhawk game) : base(game)
        {
      
            rats = new Rats(Game);
            bat = new Bat(Game);
            field = new Field(Game);
            lego = new Lego(Game);
        }
        public override void LoadContent()
        {
        }

        public override void Activate()
        {
            
            base.Activate();
            Game.lastKeyboardState = Keyboard.GetState();
         //   lastGamePadState = GamePad.GetState(PlayerIndex.One);
        }
        public override void Update(GameTime gameTime)
        {
            base.Update(gameTime);
        }
        public override void Draw(GameTime gameTime)
        {
            field.Draw(Game.Graphics, gameTime);
            lego.Draw(Game.Graphics, gameTime);
            rats.Draw(Game.Graphics, gameTime,Game);
            bat.Draw(Game.Graphics, gameTime);

            base.Draw(gameTime);
        }
        public override void  DrawSprites(GameTime gameTime, SpriteBatch spriteBatch)
        {
 	       // spriteBatch.DrawString(scoreFont, scoreString, new Vector2(10,10),Color.White);
        }
    }
}
